package com.lzh.eventdemo;

import java.util.HashMap;
import java.util.Properties;

/**
 * @author by lzh
 * @Classname TestMain
 * @Description TODO
 * @Date 2024/12/10 14:17
 */
public class TestMain {

    public static void main(String[] args) {
        HashMap<String, String> stringStringHashMap = new HashMap<>(System.getenv());
        Properties properties = System.getProperties();
        stringStringHashMap.forEach((k, v) -> System.out.println(k + ":" + v));
        properties.forEach((k, v) -> System.out.println(k + ":" + v));
    }
}
